package org.example.auth.domain;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @version 1.0.0
 * @className: Oauth2TokenDto
 * @description: Oauth2获取Token返回信息封装
 * @author: LiJunYi
 * @create: 2023/4/3 16:48
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
public class Oauth2TokenDto {

    /**
     * 令牌
     */
    private String token;
    /**
     * 刷新令牌
     */
    private String refreshToken;
    /**
     * 令牌头
     */
    private String tokenHead;
    /**
     * 有效时间
     */
    private int expiresIn;
}
